package com.ruoyi.material.mapper;

import com.ruoyi.material.domain.MateProductCheck;
import com.ruoyi.material.domain.MateProductCheckModel;
import com.ruoyi.material.domain.MateProductReport;
import com.ruoyi.material.domain.MaterialProduct;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface CheckReportMapper {


    int addCheck(MateProductCheck mateProductCheck);

    int insertReportProduct(MateProductReport mateProductReport);

    public List<MateProductCheck> selectMateProductCheck(MateProductCheck mateProductCheck);

    int updateMateProductCheck(MateProductCheck mateProductCheck);

    public MateProductCheck selectChcek(Long mateCheckId);

    public  void  removeReport(Long mateCheckId);

    public void  removeReportModel(Long mateCheckId);

    public void  removeReportProduct(Long mateCheckId);

    public MateProductCheck selectMateProductCheckById(Long mateCheckId);

    public int insertCheckReportModel(MateProductCheckModel mateProductCheckModel);

    public List<MateProductCheck> selectAuditReport(Long deptId);
}
